<!DOCTYPE html>
<html lang="en" ng-app="myApp" class="no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=8">
	<title>拾光</title>

<body>
      <h1><?=$_GET["date"]?> : <?=$verifiedUserCount?> | <?=count($users)?> (<?=$totalVerifiedUserCount?>)</h1>
      <h2>
        <?php foreach ($userCount["nj"] as $key => $value): ?>
          <?=$key?> : <?=$value?> |
        <?php endforeach; ?>
        <?php foreach ($userCount["xb"] as $key => $value): ?>
          <?=$key=="1"?"body":"girl"?> : <?=$value?> |
        <?php endforeach; ?>
      </h2>

      <table style="width:100%;">
        <?php foreach ($users as $user):?>
          <tr >
            <td><?=$user["id"]?></td>
            <td><?=$user["name"]?></td>
            <td><?=$user["description"]?></td>
            <td><?=$user["phone"]?></td>
            <td><?=$user["school_id"]?></td>
            <td>
              <?php if($user["is_verified"]):?>
                <?=$user["sex"]==1?"body":"girl"?>
              <?php endif?>
            </td>
            <td><?=$user["created_at"]?></td>
            <!-- <td>
              <a href="http://source.timepicker.cn/<?=$user['icon']?>">
                <img src="http://source.timepicker.cn/<?=$user['icon']?>?imageView2/1/w/150/h/150">
              </a>
            </td> -->
            <td style="position:relative;">
            <?php if(!empty($user["intro"])):?>
              <a href="#" class="pic-a">pic</a>
              <img src='<?=$user["intro"]["zp"]?>' height="150px;" style="position:absolute;right:0;bottom:20px;display:none;" />
            <?php endif?>
            </td>
          </tr>
        <?php endforeach?>
      </table>

</main>
<script type="text/javascript" src="/js/zepto.min.js"></script>
<script type="text/javascript">
  $("a.pic-a").on("click",function(){
    console.log(123);
    $("img").hide();
    $(this).next().show();
    return false;
  });
</script>
</body>
</html>
